<template>
    <CommonDialog :dialogShow.sync="dialogShow" @makeSure="makeSure" :title="curRow.id ? '修改通知' : '新增通知'">
        <template #content>
            <div class="content">
                <el-from :model="noticeForm">
                    <CommonInput v-model="noticeForm.title"></CommonInput>
                </el-from>
            </div>
        </template>
    </CommonDialog>
</template>

<script>
export default {
    name: 'ChangNoticeDialog',
    props: {
        changeDialogShow: [Boolean],
        curRow: {
            typeof: Object,
            default: () => { }

        }
    },
    data() {
        return {
            noticeForm: {
                title: '',
                content: '',
                files: ''
            }
        };
    },
    computed: {
        dialogShow: {
            get() {
                return this.changeDialogShow;
            },
            set(v) {
                this.$emit('update:changeDialogShow', v);
            }
        }
    },
    mounted() {

    },

    methods: {
        makeSure() {

        }
    },
};
</script>
<style lang="less" scoped></style>